<?php
namespace app\index\controller;

use think\Controller;

class Home extends Controller
{
    public function _initialize()
    {
    	header('Access-Control-Allow-Origin: *');
		header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
		header('Access-Control-Allow-Methods: GET,POST');
    }
}
